 #makefile for germ2

OBJS = main.o Utility.o TabFile.o ReadMapper.o
FLAGS = -Wall

germ2:    ${OBJS}
	g++ ${FLAGS} -o germ2 ${OBJS}
Utility.o: Utility.cpp Utility.h
	g++ ${FLAGS} -c Utility.cpp
TabFile.o: TabFile.cpp TabFile.h
	g++ ${FLAGS} -c TabFile.cpp
ReadMapper.o: ReadMapper.cpp ReadMapper.h
	g++ ${FLAGS} -c ReadMapper.cpp
main.o: main.cpp
	g++ ${FLAGS} -c main.cpp

.PHONY: clean realclean install

clean:
	/bin/rm germ2 ${OBJS}
realclean:
	/usr/bin/rm germ2 ${OBJS}
	/usr/bin/rm germ2
install:
	cp germ2 /usr/local/bin/germ2
